package com.hl.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.hl.sfzy.entity.Article;

import java.util.List;


public interface ArticleService {
    int add(Article article);
    int remove(Long id);
    int edit(Article article);
    Article findById(Long id);
    PageInfo<Article> findAll(int pageNum, int pageSize, Article article);
    int deleteBatch(List<Long> ids);
    //文章表和咨询师表多表联查
    List<Article> findArticleConsultants(Long id);
}
